<header>
            <h1>LOGO</h1>
            <a>en</a>-<a>eus</a><br>
            
            <% if(reg.getUsuario().equals("")){%>
            <form method="post" action="control.jsp">
                <input type="text" name="usuario" placeholder="Usuario" required />
                <input type="password" name="password" placeholder="Password" required />
                <button type="submit" name="logear" value="Login">Acceder</button>
                
                <% if(!reg.getUsuarioLogeado()){%> 
                        <p>Usuario invalido!</p> 
                        <% } %>
                
            </form>
            <button href="control.jsp?action=registrarse">Registrarse</button>
            
            <%}else{%>
            <a href='control.jsp?accion=salir'><button id="btn_out">Sign out!</button></a>
            <span>Hi! <%=reg.getUsuario()%></span>
            <%}%>
            
           
            <div class="limpiador"></div>
</header>